<div class="content">
  <h1>{$title}
      {if !empty($is_preview)}
          <script type="text/javascript">
              document.write(window.opener.parent.getArticleTitle());
          </script>
      {/if}
  </h1>
  <div id="article_content">
      {$content}
      {if !empty($is_preview)}
          <script type="text/javascript">
              document.write(window.opener.parent.getEditorContent());
          </script>
      {/if}
  </div>
</div>